﻿using RndMaterialDisposalService.Models;
using RndMaterialDisposalService.Models.Entitys;

namespace RndMaterialDisposalService.Repository
{
    /// <summary>
    /// 
    /// </summary>
    public class RNDBVDataContext : DbContext
    {
        private readonly IConfiguration configuration;

        /// <summary>
        /// 
        /// </summary>
        /// <param name="options"></param>
        /// <param name="configuration"></param>
        public RNDBVDataContext(DbContextOptions<RNDBVDataContext> options, IConfiguration configuration) : base(options)

        {
            this.configuration = configuration;
        }

        /// <summary>
        /// 
        /// </summary>
        public DbSet<ProjectInfoDto> ProjectInfo { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public DbSet<ProductModelDto> ProductModel { get; set; }
    }
}
